const go/types.variable
24 uses
go/types (current package)
api.go#L419: case constant_, variable, mapindex, value, commaok, commaerr:
api.go#L434: return tv.mode == variable
api.go#L440: return tv.mode == variable || tv.mode == mapindex
assignments.go#L33: case constant_, variable, mapindex, value, commaok, commaerr:
assignments.go#L231: case variable, mapindex:
builtins.go#L789: if x.mode == variable || indirect {
builtins.go#L790: mode = variable
call.go#L755: x.mode = variable
call.go#L815: obj, index, indirect = lookupFieldOrMethod(x.typ, x.mode == variable, check.pkg, sel, false)
call.go#L841: alt, _, _ := lookupFieldOrMethod(x.typ, x.mode == variable, check.pkg, sel, true)
call.go#L905: if x.mode == variable || indirect {
call.go#L906: x.mode = variable
call.go#L931: if x.mode == variable {
expr.go#L140: if _, ok := ast.Unparen(e.X).(*ast.CompositeLit); !ok && x.mode != variable {
expr.go#L1140: x.mode = variable
index.go#L71: if x.mode != variable {
index.go#L80: x.mode = variable
index.go#L86: x.mode = variable
index.go#L110: mode := variable // non-maps result mode
index.go#L124: if x.mode != variable {
index.go#L291: if x.mode != variable {
operand.go#L30: variable // operand is an addressable variable
operand.go#L45: variable: "variable",
typexpr.go#L128: x.mode = variable